#ifndef USERINFOWIDGET_H
#define USERINFOWIDGET_H

#include <QWidget>
#include <QDialog>
#include "model/data.h"
#include <QPushButton>
#include <QLabel>
#include <QGridLayout>
#include <QDialog>
#include <QMessageBox>

class UserInfoWidget : public QDialog
{
    Q_OBJECT
public:
    explicit UserInfoWidget(const model::Message& message, QWidget *parent = nullptr);
    void initSignalSlot();


private:
    const model::Message& message;

    QPushButton* applyFriendBtn;
    QPushButton* deleteFriendBtn;
    QPushButton* sendMessageBtn;

    //删除好友逻辑
    void clickDeleteFriendBtn();
    //申请好友逻辑
    void clickApplyBtn();

signals:
};

#endif // USERINFOWIDGET_H
